package niuke;

import java.util.Collection;
import java.util.Scanner;

public class 餐馆 {

    static int n;   //n个桌子
    static int m;   //m批客人
    static int a[];         //桌子的容量
    static int b[];
    static int c[];

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();
        m = scanner.nextInt();
        //Collection
    }
}
